//
//  CoreDataManager.h
//  Four_Fit_New
//
//  Created by lanou on 16/7/19.
//  Copyright © 2016年 xmaz. All rights reserved.
//

#import <Foundation/Foundation.h>
@class RecScrollModel;
@class RecTableModel;
@class EatModel;
@class insModel;
@interface CoreDataManager : NSObject
///类方法，创建
+ (instancetype)creatCoreDataManager;
///创建插入（轮播图）
- (void)addRecommendScrollPhotoWithModel:(RecScrollModel *)model;
///推荐列表插入
- (void)addRecommendTabWithModel:(RecTableModel *)model;
///饮食列表插入
- (void)addEatingTabWithModel:(EatModel *)model;
///励志列表数据插入
- (void)addInspirationalTabWithModel:(insModel *)model;
///查找
- (NSArray *)selectActionWithName:(NSInteger)index;
///删除
- (void)deleteDataWithIndex:(NSInteger)index;

@end
